<?php //echo '<pre>'; print_r($projects) ?>
<link rel="stylesheet" type="text/css" href="<?php echo base_url() ?>/public/style.css"> 
<div class="header-title">Projects</div>
<table class="list">
    <tr>
        <th>No</th>
        <th>Project Name</th>
        <th>Project Description</th>
        <th>Project Database</th>
        <th>Action</th>  
    </tr>
    <?php foreach($projects as $key => $project): ?>
    <tr>
        <td><?php echo $key+1 ?></td>
        <td><?php echo $project->project_name ?></td>
        <td><?php echo $project->project_description ?></td>
        <td><?php echo $project->project_database ?></td>
        <td>
            <a href="<?php echo base_url() ?>index.php/menus">Setting</a>
        </td>
    </tr>
    <?php endforeach; ?>
</table>